package org.tangolyricstagger.gui;

import java.util.ArrayList;
import java.util.List;

import lombok.Getter;

import org.tangolyricstagger.model.MatchResult;

public enum MatchResultModelProvider {
	INSTANCE;

	@Getter
	private List<MatchResult> matchResults = new ArrayList<MatchResult>();
	@Getter
	private List<MatchResult> nonMatchResults = new ArrayList<MatchResult>();

	public void add(MatchResult matchResult) {
		if (matchResult.isMatched()) {
			matchResults.add(matchResult);
		} else {
			nonMatchResults.add(matchResult);
		}
	}

}